/**
 * Created by huangju on 2018-12-01.
 */
import { Dialog} from 'saltui';

var HDialog = {

  confirm :function($react,title,content,ok){
    Dialog.confirm({
      title: title,
      locale: 'en_US',
      content: content,
      onConfirm() {
        ok();
      },
      onCancel() {

      },
    });
  }

}

export default HDialog;
